<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'orderList.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
   <link rel="stylesheet"	type="text/css"	href="css/global.css"	/>
   <link rel="stylesheet"	type="text/css"	href="css/layout.css?id=7"	/>
  </head>	
  <body>
  <div id="container">
		<iframe id="header" runat="server" src="header.jsp" width="980" height="136" frameborder="0" scrolling="no"></iframe>
  </div>
	
    <center>
      <table border="1" cellspacing="0px" cellpadding="0px" width="700px" height="100px">
      <tr style="background-color: #F90;text-align: center;" >
      	<td>序号</td>
        <td>订单标号</td>
        <td>收货人姓名</td>
        <td>收货人地址</td>
        <td>收货人手机</td>
        <td>产品</td>
        <td>数量</td>
      </tr>
        <c:forEach items="${orderListNow}" var="order" varStatus="statu">
           <tr style="text-align: center;">
           		<td>${statu.count }</td>
                <td>${order.orderNo }</td>
		        <td>${order.recipients }</td>
		        <td>${order.address }</td>
		        <td>${order.phone }</td>
		        <td>${order.items.product.productName }</td>
		        <td>${order.items.count}</td>
           </tr>
        </c:forEach>
      </table>
      </center>
    
     
  </body>
</html>
